<?php
 if (isset($errors)){
echo "<ul>";

    foreach($errors as $key=>$value){
        echo "<li class='error-message'>Dòng thứ " . ($key+1) ." : $value</li>";
    }

echo "</ul>";
}
?>
       